home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / CIncludes / Packages.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-17  |  1.6 KB  |  86 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Packages.h
  3.  
  4.      Contains:    Package Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1985-1993, 1995, 1997-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __PACKAGES__
  18. #define __PACKAGES__
  19.  
  20. #ifndef __MACTYPES__
  21. #include <MacTypes.h>
  22. #endif
  23.  
  24.  
  25.  
  26. #if PRAGMA_ONCE
  27. #pragma once
  28. #endif
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34. #if PRAGMA_IMPORT
  35. #pragma import on
  36. #endif
  37.  
  38. #if PRAGMA_STRUCT_ALIGN
  39.     #pragma options align=mac68k
  40. #elif PRAGMA_STRUCT_PACKPUSH
  41.     #pragma pack(push, 2)
  42. #elif PRAGMA_STRUCT_PACK
  43.     #pragma pack(2)
  44. #endif
  45.  
  46.  
  47. enum {
  48.     listMgr                        = 0,                            /* list manager */
  49.     dskInit                        = 2,                            /* Disk Initializaton */
  50.     stdFile                        = 3,                            /* Standard File */
  51.     flPoint                        = 4,                            /* Floating-Point Arithmetic */
  52.     trFunc                        = 5,                            /* Transcendental Functions */
  53.     intUtil                        = 6,                            /* International Utilities */
  54.     bdConv                        = 7,                            /* Binary/Decimal Conversion */
  55.     editionMgr                    = 11                            /* Edition Manager */
  56. };
  57.  
  58. EXTERN_API( void )
  59. InitPack                        (short                     packID)                                ONEWORDINLINE(0xA9E5);
  60.  
  61. EXTERN_API( void )
  62. InitAllPacks                    (void)                                                        ONEWORDINLINE(0xA9E6);
  63.  
  64.  
  65.  
  66. #if PRAGMA_STRUCT_ALIGN
  67.     #pragma options align=reset
  68. #elif PRAGMA_STRUCT_PACKPUSH
  69.     #pragma pack(pop)
  70. #elif PRAGMA_STRUCT_PACK
  71.     #pragma pack()
  72. #endif
  73.  
  74. #ifdef PRAGMA_IMPORT_OFF
  75. #pragma import off
  76. #elif PRAGMA_IMPORT
  77. #pragma import reset
  78. #endif
  79.  
  80. #ifdef __cplusplus
  81. }
  82. #endif
  83.  
  84. #endif /* __PACKAGES__ */
  85.  
  86.